﻿using System;

namespace Mp3Observer.Model
{
    public class FileProperty
    {
        public string Name { get; set; }
        public int Count { get; set; }

        public string UIName
        {
            get
            {
                if (String.IsNullOrEmpty(this.Name))
                    return String.Empty;
                return String.Format("{0} ({1})", this.Name, this.Count);
            }
        }
    }
}
